import React from 'react'
import 'amis/lib/themes/cxd.css'
import amisRender from '@/components/amis/amisRender'

const Page = () => {
	return (
		<>
			{amisRender.render({
				type: 'page',
				title: '标题',
				body: {
					type: 'button',
					label: '打开弹框',
					actionType: 'dialog',
					dialog: {
						title: '提示',
						closeOnEsc: true,
						body: '这是个简单的弹框',
					},
				},
			})}
		</>
	)
}
export default Page
